package com.xauto.pioneer.appuser.model;

import org.json.JSONObject;

/**
 * 链接跳转对象
 * Created by Lemon on 24/04/2017.
 */
public class LinkInfo extends BaseModel<LinkInfo> {

    /** 规则详见 D.LinkType*/
    public String link_route;
    /** 链接*/
    public String link_value;

    @Override
    public LinkInfo parse(JSONObject jsonObject) {
        if(jsonObject != null) {
            link_route = jsonObject.optString("link_route");
            link_value = jsonObject.optString("link_value");
            return this;
        }
        return null;
    }
}
